import request from '@/utils/request'

// 废弃
export function getCommentListByPage(data) {
    return request({
        method: 'POST',
        url: `/web/comment/getCommentListByPage`,
        data
    })
}

// 
export function getArticleCommentList(data) {
    return request({
        method: 'POST',
        url: `/web/comment/getArticleCommentList`,
        data
    })
}

export function getReplyCommentsByPage(data) {
    return request({
        method: 'POST',
        url: `/web/comment/getReplyCommentsByPage`,
        data
    })
}

export function postComment(data) {
    return request({
        method: 'POST',
        url: `/comment/postComment`,
        data
    })
}